@(message: String)(implicit request: RequestHeader, session:Session)
@import views.html.users._
@import helper._
@main(message,scripts=js){

<div><h1>数据录入</h1> </div>
@CSRF.formField
<div class="layui-form layui-border-box layui-table-view" style=" height:312px;">
 <table class="layui-hide" id="demotable" lay-filter="test"></table>
</div>

<div class="barDemoEdit" style="display:none">
 <form lay-filter="barDemoEditForm" class="layui-form" action="">
  <div class="layui-form-item">
   <label class="layui-form-label">渠道名称</label>
   <div class="layui-input-block bardemo-input">
    <input type="text" name="shop" value='' class="layui-input" required>
   </div>
  </div>
  <div class="layui-form-item">
   <label class="layui-form-label">负责人</label>
   <div class="layui-input-block bardemo-input">
    <input type="text" name="person" value='' class="layui-input" required>
   </div>
  </div>
  <div class="layui-form-item">
   <label class="layui-form-label">月份</label>
   <div class="layui-input-block bardemo-input">
    <input type="text" name="date" value='' class="layui-input" required>
   </div>
  </div>
  <div class="layui-form-item">
   <label class="layui-form-label">完成率(%)</label>
   <div class="layui-input-block bardemo-input">
    <input type="number" name="persent" value='' class="layui-input" required>
   </div>
  </div>
 </form>
</div>
<script type="text/html" id="barDemo">
 <a class="layui-btn layui-btn-xs" lay-event="edit">同步更新</a>
 <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
}
@js = {
<script src='@routes.Assets.versioned("js/kb_update.js")' type="text/javascript"></script>
}
